const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_auth_jwt_module",
    map: {
        auth_jwt: [[Switch, String], false, ["http", "server", "location", "limit_except"]],
        auth_jwt_claim_set: [String, , "http"],
        auth_jwt_header_set: [String, , "http"],
        auth_jwt_key_cache: [String, , ["http", "server", "location"]],
        auth_jwt_key_file: [String, , ["http", "server", "location", "limit_except"]],
        auth_jwt_key_request: [String, , ["http", "server", "location", "limit_except"]],
        auth_jwt_leeway: [String, "0s", ["http", "server", "location"]],
        auth_jwt_type: [String, "signed", ["http", "server", "location", "limit_except"]],
        auth_jwt_require: [String, , ["http", "server", "location", "limit_except"]],
        
    }
};